<template>
  <el-card class="box-card h100" :style="themeOpacity">
    <div slot="header" :class="['clearfix', isDraggable ? 'draggable-move-clazz' : '']">
      <span>最新公告</span>
    </div>
    <el-row :gutter="5">
      <el-col :span="24" class="card-one-item">
        <el-row class="mb10">
          <el-col :span="15" class="card-introd">
            <span class="theme-less-font-color">[通知公告]</span>
            <span>关于召开2020年高级职称评审答辩</span>
          </el-col>
          <el-col :span="8" :offset="1" class="card-info font-gray">
            <span>人力支援部</span>
            <span>2021-04-01</span>
          </el-col>
        </el-row>
      </el-col>
      <el-col :span="24" class="card-one-item">
        <el-row class="mb10">
          <el-col :span="15" class="card-introd">
            <span class="theme-less-font-color">[通知公告]</span>
            <span>关于召开2020年高级职称评审答辩</span>
          </el-col>
          <el-col :span="8" :offset="1" class="card-info font-gray">
            <span>人力支援部</span>
            <span>2021-04-01</span>
          </el-col>
        </el-row>
      </el-col>
    </el-row>
  </el-card>
</template>

<script>
  import { mixin } from '@/mixin'
  export default {
    name: 'Notice',
    data() {
      return {}
    },
    props: {
      isDraggable: {
        type: Boolean,
        default: false
      }
    },
    components: {},
    mixins: [mixin]
  }
</script>

<style scoped lang="scss">
  .card-one-item {
    .card-introd {
      font-size: 12px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .card-info {
      font-size: 12px;
      display: flex;
      justify-content: space-between;
    }
  }
  .font-blue {
    color: #3672fe;
  }
</style>
